package com.ruoyi.project.system.log.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * CTCP运行日志对象 ctcp_log
 * 
 * @author huzhenyuan
 * @date 2021-07-15
 */
public class CtcpLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long id;

    /** 应用ID */
    @Excel(name = "应用ID")
    private String appId;

    /** 模块名称 */
    @Excel(name = "模块名称")
    private String module;

    /** 时间 */
    @Excel(name = "时间")
    private String time;

    /** 日志文本 */
    @Excel(name = "日志文本")
    private String message;

    /** 日志级别 */
    @Excel(name = "日志级别")
    private String level;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAppId(String appId)
    {
        this.appId = appId;
    }

    public String getAppId()
    {
        return appId;
    }
    public void setModule(String module)
    {
        this.module = module;
    }

    public String getModule()
    {
        return module;
    }
    public void setTime(String time)
    {
        this.time = time;
    }

    public String getTime()
    {
        return time;
    }
    public void setMessage(String message)
    {
        this.message = message;
    }

    public String getMessage()
    {
        return message;
    }
    public void setLevel(String level)
    {
        this.level = level;
    }

    public String getLevel()
    {
        return level;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appId", getAppId())
            .append("module", getModule())
            .append("time", getTime())
            .append("message", getMessage())
            .append("level", getLevel())
            .toString();
    }
}
